mylike = {
	mySwiper:function(container, page, _timeChange, _effect, prev, next){
		var timeChange = _timeChange || false;
		var _effect = _effect || "side";
		var mySwiper = new Swiper (container, {
		    loop: true,
		    autoplay:timeChange,
		    speed: 2000,
		    preventInteractionOnTransition : true,
		    autoHeight :true,
		    observer:true,
		    observeParents:true,
		    preventClicks : true,
		    centeredSlides: true,
		    effect : _effect,
		    pagination: {
		      el: page,
		      clickable :true,
		    },
		    navigation: {
		      nextEl: next,
		      prevEl: prev,
		    },
		  })
	},
	myTab:function(container, tab, _time, prev, next, page, _effect){
		var time = _time || 3000;
		var _effect = _effect || "side";
	    var tabsSwiper = new Swiper(container,{
            lazyLoading : true,
            calculateHeight:true,
            effect : _effect,
            autoHeight: true,
            observer:true,
            observeParents:true,
            autoplayDisableOnInteraction : false,
            autoplay:{
            	disableOnInteraction: false,
		    	delay: time,
		    },
            pagination: {
		      el: page,
		      clickable :true,
		    },
		    navigation: {
		      nextEl: next,
		      prevEl: prev,
		    },
		    on:{
		    	slideChangeTransitionStart:function(){
		    		$(tab+"."+"on").removeClass('on');
                	$(tab).eq(tabsSwiper.activeIndex).addClass('on');
		    	}
		    }
        });
        $(tab).click('touchstart mousedown',function(e){
            e.preventDefault();
            $(tab+"."+"on").removeClass('on');
            $(this).addClass('on');
            tabsSwiper.slideTo($(this).index());
        });
        $(tab).click(function(e){
            e.preventDefault();
        });
	}
}